﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:qs="http://schemas.altairis.cz/XML4web/Arguments#QueryString" xmlns:ff="http://schemas.altairis.cz/XML4web/Arguments#FormFields" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" exclude-result-prefixes="msxsl qs ff dc wfw slash ">
	<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" encoding="utf-8" />

	<xsl:param name="MyUrl" />
	<xsl:param name="BaseUrl" />

	<xsl:template match="/">
		<html>
			<head>
				<title>MSDN</title>
				<link rel="stylesheet" type="text/css" href="{$BaseUrl}/Templates/BlackMSDN/StyleSheet.css" />
				<meta http-equiv="content-type" content="text/html; charset=utf-8" />
				<meta name="author" content="Michal A. Valášek - Altairis, www.altairis.cz" />
			</head>
			<body>
				<div id="content">
					<div style="height:31px;">
						<img src="{$BaseUrl}/Templates/BlackMSDN/TopLogo.png" width="185" height="31" alt="MSDN" title=""/>
					</div>
					<xsl:for-each select="/root/group[@id='msdn']/feed">
						<div class="{concat('header seq-', position())}">
							<a href="{data/link}" target="_top">
								<xsl:value-of select="@title"/>
							</a>
						</div>
						<div class="items">
							<xsl:for-each select="data/item">
								<div class="{concat('item seq-', position())}">
									<a href="{link}" target="_top">
										<xsl:value-of select="title"/>
									</a>
								</div>
							</xsl:for-each>
						</div>
					</xsl:for-each>
					<div style="height:34px">
						<a href="{$BaseUrl}/transform.blacktechnet.axd">
							<img src="{$BaseUrl}/Templates/BlackMSDN/BottomLogo.png" width="185" height="34" alt="TechNet" title="Co nového na TechNetu?"/>
						</a>
					</div>
				</div>
			</body>
		</html>
	</xsl:template>

</xsl:stylesheet>
